#coding:utf-8
from django.contrib import admin
from models import User
from models import Task
from models import Store
from models import Store_info
from models import Queue
class UserAdmin(admin.ModelAdmin):
    list_display = ('username','password')

class TaskAdmin(admin.ModelAdmin):
    list_display = ('task_name','stat','last_time')

class StoreAdmin(admin.ModelAdmin):
    list_display = ('store_name','store_url')

class StoreInfoAdmin(admin.ModelAdmin):
    list_display = ('sale_count','sale_money','date')

class QueueAdmin(admin.ModelAdmin):
    list_display = ('url','mail','sales','money','stat','time')

admin.site.register(User,UserAdmin)
admin.site.register(Task,TaskAdmin)
admin.site.register(Store,StoreAdmin)
admin.site.register(Store_info,StoreInfoAdmin)
admin.site.register(Queue,QueueAdmin)
